class Constants {
  Constants._();

  ///超时时间
  static const Duration connectTimeout = Duration(milliseconds: 60000);
  static const Duration receiveTimeout = Duration(milliseconds: 60000);
  static const String imageJpeg = 'image/jpeg';
  static const String imageJfif = 'image/jfif';
  static const String imagePng = 'image/png';
  static const String applicationPdf = 'application/pdf';
  static const String applicationDoc = 'application/doc';
  static const String applicationMSword = 'application/msword';
  static const String documentPdf = 'document/pdf';
  static const String file = 'file';
}

const int kVersion1 = 1;
const String dbName = 'uploader.db';
const String columnId = '_id';
const String table = 'task';
const String columnTaskId = 'taskId';
const String columnUrl = 'url';
const String columnFileName = 'fileName';
const String columnFileSize = 'fileSize';
const String columnFilePath = 'filePath';
const String columnStatus = 'status';
const String columnGroup = 'group';
const String columnCreatedAt = 'createdAt';
const String columnProgress = 'progress';
const String columnErrorCode = 'errorCode';
const String columnErrorMessage = 'errorMessage';
